package com.admin.domain.repository;

import com.admin.domain.modle.Play;

import java.util.List;


/**
 * description
 * User: WeiDa
 * Date: 2017-4-11
 * Time: 16:45
 */
public interface PlayRepository {

    int add(Play play);

    int update(Play play);

    int upsert(List<Play> plays);

    Play get(String id);
    Play get(int id);

    List<Play> list(String key);

    void remove(String code);

    void updateSaleDateById(String playId, String  saleDate);

}
